package com.example.demo34;

/**
 * Hello world!
 *
 */
public class App {
    public static void main(String[] args) {
        {
            String id = IdGenerator.generate();
            System.out.println("id=" + id);
        }

        {
            String id = (new IdGeneratorRef1()).generate();
            System.out.println("id=" + id);
            System.out.println( "G in:" + id.indexOf('G'));
        }

    }
}
